package com.linyc;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
		//添加一条消息
	}
	
	public void show(View v){
		Intent intent = new Intent();
		intent.setClass(this, SecconActivity.class);
		startActivity(intent);
	}

	public void hidden(View v){
		Intent intent = new Intent("aaa");
		startActivity(intent);
	}
}